package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.WorkflowProduct;

public interface WorkflowProductService {
    Result<PageInfo<WorkflowProduct>> queryList(Long workflowId,int page,int size);
    Result saveWorkflowProduct(WorkflowProduct workflowProduct);

    Result<WorkflowProduct> queryById(Long id);

    Result updateById(WorkflowProduct workflowProduct);

    Result deleteById(Long id);

    Result batchDelete(Long[] ids);
}
